how to practice test cases